package com.zhelun.demo;

import java.util.List;

import demo.bocweb.com.sdk.base.BasePresenter;
import demo.bocweb.com.sdk.base.IBaseModel;
import demo.bocweb.com.sdk.base.IBaseView;
import io.reactivex.Observable;

/**
 * Created by zhelun on 2018/1/18.
 */

public interface MovieTop250Contract {
    abstract class TopMoviePresenter extends BasePresenter<IMovieTop250Model, IMovieTop250View> {
        public abstract void getTopMovieList(int start,int count);
    }

    interface IMovieTop250Model extends IBaseModel {
        Observable<HotMovieBean> getTopMovieList(int start, int count);
    }

    interface IMovieTop250View extends IBaseView {
        void updateTopMovieList(List<SubjectsBean> list);
    }
}
